{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/pages/Home/Im/index.tsx\",\n  _s = $RefreshSig$();\nimport React from 'react';\nimport { Home } from \"../../\";\nimport { Dialogs } from \"../../../containers/\";\nimport { Dialog } from \"../../../components/\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nconst Im = () => {\n  _s();\n  const [dialogs, setDialogs] = React.useState();\n  React.useEffect(() => {\n    setDialogs( /*#__PURE__*/_jsxDEV(_Fragment, {\n      children: /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"messenger__sidebar-item\",\n        children: [/*#__PURE__*/_jsxDEV(\"div\", {\n          className: \"messenger__sidebar-item-header\",\n          children: /*#__PURE__*/_jsxDEV(\"div\", {\n            className: \"messenger__sidebar-item-header-top\",\n            children: [/*#__PURE__*/_jsxDEV(\"span\", {\n              children: \"\\u0421\\u043F\\u0438\\u0441\\u043E\\u043A \\u0434\\u0438\\u0430\\u043B\\u043E\\u0433\\u043E\\u0432\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 15,\n              columnNumber: 29\n            }, this), /*#__PURE__*/_jsxDEV(\"button\", {\n              className: \"add__newDialog\"\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 16,\n              columnNumber: 29\n            }, this)]\n          }, void 0, true, {\n            fileName: _jsxFileName,\n            lineNumber: 14,\n            columnNumber: 25\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 13,\n          columnNumber: 21\n        }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n          className: \"messenger__sidebar-dialogs\",\n          children: /*#__PURE__*/_jsxDEV(Dialogs, {}, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 20,\n            columnNumber: 25\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 19,\n          columnNumber: 21\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 12,\n        columnNumber: 17\n      }, this)\n    }, void 0, false));\n  }, []);\n  return /*#__PURE__*/_jsxDEV(Home, {\n    childrenFirst: dialogs,\n    childrenSecond: /*#__PURE__*/_jsxDEV(Dialog, {}, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 30,\n      columnNumber: 29\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 28,\n    columnNumber: 9\n  }, this);\n};\n_s(Im, \"CCPrpln2Ta4GSYL38UEbJwP6p18=\");\n_c = Im;\nexport default Im;\nvar _c;\n$RefreshReg$(_c, \"Im\");","map":{"version":3,"names":["React","Home","Dialogs","Dialog","Im","dialogs","setDialogs","useState","useEffect"],"sources":["/data/messenger.client/src/pages/Home/Im/index.tsx"],"sourcesContent":["import React from 'react';\nimport {Home} from \"../../\";\nimport {Dialogs} from \"../../../containers/\";\nimport {Dialog} from \"../../../components/\";\n\nconst Im = () => {\n    const [dialogs, setDialogs] = React.useState<React.ReactNode>();\n\n    React.useEffect(() => {\n        setDialogs(\n            <>\n                <div className=\"messenger__sidebar-item\">\n                    <div className=\"messenger__sidebar-item-header\">\n                        <div className=\"messenger__sidebar-item-header-top\">\n                            <span>Список диалогов</span>\n                            <button className=\"add__newDialog\" />\n                        </div>\n                    </div>\n                    <div className=\"messenger__sidebar-dialogs\">\n                        <Dialogs/>\n                    </div>\n                </div>\n            </>\n        );\n    }, []);\n\n    return (\n        <Home\n            childrenFirst={dialogs}\n            childrenSecond={<Dialog/>}\n        />\n    );\n}\n\nexport default Im;"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,IAAI,QAAO,QAAQ;AAC3B,SAAQC,OAAO,QAAO,sBAAsB;AAC5C,SAAQC,MAAM,QAAO,sBAAsB;AAAC;AAAA;AAE5C,MAAMC,EAAE,GAAG,MAAM;EAAA;EACb,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGN,KAAK,CAACO,QAAQ,EAAmB;EAE/DP,KAAK,CAACQ,SAAS,CAAC,MAAM;IAClBF,UAAU,eACN;MAAA,uBACI;QAAK,SAAS,EAAC,yBAAyB;QAAA,wBACpC;UAAK,SAAS,EAAC,gCAAgC;UAAA,uBAC3C;YAAK,SAAS,EAAC,oCAAoC;YAAA,wBAC/C;cAAA;YAAA;cAAA;cAAA;cAAA;YAAA,QAA4B,eAC5B;cAAQ,SAAS,EAAC;YAAgB;cAAA;cAAA;cAAA;YAAA,QAAG;UAAA;YAAA;YAAA;YAAA;UAAA;QACnC;UAAA;UAAA;UAAA;QAAA,QACJ,eACN;UAAK,SAAS,EAAC,4BAA4B;UAAA,uBACvC,QAAC,OAAO;YAAA;YAAA;YAAA;UAAA;QAAE;UAAA;UAAA;UAAA;QAAA,QACR;MAAA;QAAA;QAAA;QAAA;MAAA;IACJ,iBACP,CACN;EACL,CAAC,EAAE,EAAE,CAAC;EAEN,oBACI,QAAC,IAAI;IACD,aAAa,EAAED,OAAQ;IACvB,cAAc,eAAE,QAAC,MAAM;MAAA;MAAA;MAAA;IAAA;EAAG;IAAA;IAAA;IAAA;EAAA,QAC5B;AAEV,CAAC;AAAA,GA3BKD,EAAE;AAAA,KAAFA,EAAE;AA6BR,eAAeA,EAAE;AAAC;AAAA"},"metadata":{},"sourceType":"module"}